package com.irc.server;

import java.util.List;
import java.util.Vector;

/*
 * An IRC Channel
 * @author agd
 */
public class IRCChannel {

	public String name;
	public List<IRCUser> users;
	
	public IRCChannel(String name){
		this.name = name;
		users = new Vector<IRCUser>();
	}
	
	public List<IRCUser> getUsers(){
		return this.users;
	}
	
	public void addUser(IRCUser u){
		users.add(u);
	}
	
}
